home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
A-COMAL Series
/
(k)aai.d64
/
lightpen.proc
< prev
next >
Wrap
Text File
|
2007-02-28
|
184b
|
8 lines
9000 //
9010 PROC LIGHTPEN(REF X,REF Y) CLOSED
9020 REPEAT
9030 X:=PEEK(53267)*2-72
9040 Y:=246-PEEK(53268)
9050 UNTIL X<=319 AND X>=0 AND Y<=199 AND Y>=0
9060 ENDPROC LIGHTPEN